package com.example.gokchinesefoodmappcdev.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 商品图片(GoodsPic)实体类
 *
 * @author makejava
 * @since 2022-11-27 15:48:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods_pic")
public class GoodsPic implements Serializable {
    private static final long serialVersionUID = -86077044517943486L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 商品id
     */
    private Integer goodId;
    /**
     * 图片地址
     */
    private String picPath;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

}

